package com.passive.lock.mapper;

import com.passive.lock.model.po.TCompany;
import com.passive.lock.model.po.TCompanyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Repository("TCompanyMapper")
public interface TCompanyMapper {
    /**
     *
     * @mbggenerated 2017-06-27
     */
    int countByExample(TCompanyExample example);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int deleteByExample(TCompanyExample example);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int insert(TCompany record);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int insertSelective(TCompany record);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    List<TCompany> selectByExample(TCompanyExample example);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    TCompany selectByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int updateByExampleSelective(@Param("record") TCompany record, @Param("example") TCompanyExample example);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int updateByExample(@Param("record") TCompany record, @Param("example") TCompanyExample example);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int updateByPrimaryKeySelective(TCompany record);

    /**
     *
     * @mbggenerated 2017-06-27
     */
    int updateByPrimaryKey(TCompany record);
}